body {
  background-color: #f5f5f5;
}

.todoapp {
  position: relative;
  width: 640px;
  margin: 130px auto 40px auto;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
}

.todoapp h1 {
  position: absolute;
  top: -170px;
  width: 100%;
  font-size: 80px;
  text-align: center;
  color: #b83f45;
}

.new-todo,
.edit {
  position: relative;
  margin: 0;
  width: 100%;
  font-size: 24px;
  font-family: inherit;
  font-weight: inherit;
  line-height: 1.4em;
  color: inherit;
  padding: 6px;
  border: 1px solid #999;
  box-shadow: inset 0 -1px 5px 0 rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.new-todo {
  padding: 16px 16px 16px 80px;
  height: 65px;
  border: none;
  background: rgba(0, 0, 0, 0.003);
  box-shadow: inset 0 -2px 1px rgba(0, 0, 0, 0.03);
}

.todo-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.todo-list li {
  position: relative;
  font-size: 24px;
  border-bottom: 1px solid #ededed;
}

.todo-list li .toggle {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 20px;
  /* opacity: 0; */
  width: 40px;
  height: 40px;
  background-color: green;
}

.todo-list li .label {
  display: block;
  padding: 15px;
  padding-left: 80px;
  line-height: 36px;
}

.todo-list li .destroy {
  display: none;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  width: 40px;
  height: 40px;
  margin: auto 0;
  font-size: 30px;
  color: #cc9a9a;
  transition: color 0.2s ease-out;
  cursor: pointer;
  border: none;
  background: none;
}

.todo-list li:hover .destroy {
  display: block;
}

.todo-list li .destroy:hover {
  color: #af5b5e;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  height: 50px;
  color: #777;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}

.footer:before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50px;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 0 -3px #f6f6f6,
    0 9px 1px -3px rgba(0, 0, 0, 0.2), 0 16px 0 -6px #f6f6f6,
    0 17px 2px -6px rgba(0, 0, 0, 0.2);
}

.filters {
  margin: 0;
  padding: 0;
  list-style: none;
}

.filters li {
  display: inline;
  color: inherit;
  margin: 4px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.filters li.selected {
  border-color: rgba(175, 47, 47, 0.2);
}

.clear {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 100%;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  appearance: none;
  cursor: pointer;
}

.clear:hover {
  text-decoration: underline;
}
